body {
    background: #F3F3F3;
}

// 顶部导航
.nav {
    height: 30px;
    line-height: 30px;
    background: #D9D9D9;

    .left_address {
        height: 30px;
    }

    li {
        position: relative;
        padding: 0 14px;

        &:last-child {
            padding-right: 0;
        }
    }

    li:hover .second_nav {
        display: block;
    }

    li .icon-arrow-down-bold {
        font-size: 12px;
    }

    .line {
        width: 2px;
        height: 12px;
        background-color: #999;
        float: left;
        padding: 0;
        margin-top: 10px;
    }

    // 二级导航
    .second_nav {
        position: absolute;
        left: 0;
        top: 30px;
        width: 150px;
        height: 150px;
        background-color: #f5f5f5;
        padding: 15px;
        box-sizing: border-box;
        display: none;
        z-index: 100;
    }


    .right_list {
        height: 30px;
    }
}

// 搜索区域
.serchBox {
    height: 132px;
    background-color: #fff;
    box-shadow: 0px 6px 6px 0px #CACACA3F;


    // 中间搜索区域
    .search_car {
        width: 690px;
        height: 132px;
        padding-top: 20px;
        box-sizing: border-box;

        //  搜索框
        .search_input {
            position: relative;
            border: 1px solid #DD302D;
            float: left;

            input[type="text"] {
                width: 510px;
                height: 36px;
                float: left;
                padding-left: 10px;
                box-sizing: border-box;
            }

            input[type="button"] {
                float: left;
                height: 36px;
                width: 80px;
                background-color: #DD302D;
            }

            .icon-search {
                position: absolute;
                right: 30px;
                top: 50%;
                margin-top: -8px;
                color: #fff;
            }
        }

        // 购物车
        .car {
            width: 90px;
            height: 36px;
            border: 1px solid #DD302D;
            text-align: center;
            line-height: 36px;
            float: left;
            margin-left: 5px;
            color: #DD302D;
        }

        // 热词搜索
        .hot_words {
            margin-top: 10px;

            a {
                margin-right: 10px;
            }
        }

        // 主体导航
        .main_nav {
            margin-top: 20px;
            color: #666;
            font-weight: 900;

            li {
                font-size: 16px;
                margin-right: 10px;

                &:hover a {
                    color: orangered;
                }
            }
        }
    }
}

// 主体区域
.main_body {


    .banner {
        margin-top: 16px;

        .left_aside {
            width: 190px;
            height: 458px;
            background-color: #fff;
            padding-top: 18px;
            box-sizing: border-box;

            li {
                height: 28px;
                line-height: 28px;
                padding-left: 16px;

                &:hover {
                    background-color: orangered;
                }

                &:hover a {
                    color: #fff;
                }

                a {
                    color: #333;
                    font-weight: 700;
                }
            }
        }

        .middle_img {
            margin: 0 10px;
        }


        .guangao {
            width: 190px;

            a:nth-child(2) img {
                margin: 10px 0;
            }
        }

        .user_center {
            width: 190px;
            height: 458px;
            background-color: #fff;

            //用户信息
            .user_msg {
                width: 150px;
                height: 84px;
                border-bottom: 2px solid #ccc;
                margin: 20px auto 0;


                .top_user {

                    img {
                        float: left;
                    }

                    .right_msg {
                        float: left;
                        margin-left: 10px;
                        position: relative;

                        a:nth-child(2) {
                            margin-right: 10px;
                        }

                        a:nth-child(4) {
                            margin-left: 10px;
                        }

                        .line {
                            position: absolute;
                            left: 34px;
                            top: 21px;
                            width: 2px;
                            height: 10px;
                            background-color: #999;
                        }
                    }



                }


                .bot_showMsg {
                    margin-top: 15px;

                    span {
                        width: 64px;
                        height: 22px;
                        float: left;
                        text-align: center;
                        line-height: 22px;
                        background-color: #DD302D;
                        color: #fff;
                        border-radius: 10px;

                        &:last-child {
                            margin-left: 10px;
                            background-color: #363634;
                            color: #BEB482;
                        }
                    }
                }
            }

            //   御码快报
            .ym_news {
                width: 170px;
                height: 126px;
                margin: 16px auto;

                .content {
                    margin-top: 10px;

                    .item {
                        margin: 5px 0;
                    }

                    span {
                        float: left;
                        width: 44px;
                        height: 22px;
                        background-color: #FFE7E7;
                        color: #DD302D;
                        font-size: 12px;
                        text-align: center;
                        line-height: 22px;
                    }

                    p {
                        float: left;
                        width: 120px;
                        height: 18px;
                        font-size: 12px;
                        overflow: hidden;
                        word-break: keep-all;
                        text-overflow: ellipsis;
                        padding-left: 6px;
                    }

                }
            }

            .sv_list {
                width: 170px;
                height: 174px;
                margin: 28px auto;

                .item {
                    float: left;
                    margin-left: 5px;
                    margin-top: 10px;
                    height: 46px;
                    width: 36px;


                    a {
                        &:hover p {
                            color: red;
                        }


                        display: block;
                        padding-top: 30px;
                        text-align: center;
                        position: relative;

                    }

                    .bg {
                        width: 28px;
                        height: 28px;
                        display: block;
                        position: absolute;
                        top: 0;
                        left: 50%;
                        margin-left: -14px;
                    }
                }

                .one {
                    a:hover {
                        .bg {
                            background: url(../侧边栏图标_hover@1x.png) no-repeat -38px 0px;
                        }
                    }

                    .bg {
                        background: url(../img/侧边栏图标_默认@1x.png) no-repeat -38px 0px;
                    }
                }

                .two {
                    a:hover {
                        .bg {
                            background: url(../侧边栏图标_hover@1x.png) no-repeat -39px -42px;
                        }
                    }

                    .bg {
                        background: url(../img/侧边栏图标_默认@1x.png) no-repeat -39px -42px;
                    }
                }

                .three {
                    a:hover {
                        .bg {
                            background: url(../侧边栏图标_hover@1x.png) no-repeat -0px -42px;
                        }
                    }

                    .bg {
                        background: url(../img/侧边栏图标_默认@1x.png) no-repeat -0px -42px;
                    }
                }


                .four {
                    a:hover {
                        .bg {
                            background: url(../侧边栏图标_hover@1x.png) no-repeat -76px -83px;
                        }
                    }

                    .bg {
                        background: url(../img/侧边栏图标_默认@1x.png) no-repeat -76px -83px;
                    }
                }


                .five {
                    a:hover {
                        .bg {
                            background: url(../侧边栏图标_hover@1x.png) no-repeat -114px 2px;
                        }
                    }

                    .bg {
                        background: url(../img/侧边栏图标_默认@1x.png) no-repeat -114px 2px;
                    }
                }
            }

            .six {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat -76px -41px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat -76px -41px;
                }
            }

            .seven {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat 0px -83px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat 0px -83px;
                }
            }

            .eight {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat -76px 2px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat -76px 2px;
                }
            }

            .nine {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat 1px 0px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat 1px 0px;
                }
            }


            .ten {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat -114px -41px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat -114px -41px;
                }
            }


            .eleven {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat -114px -82px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat -114px -82px;
                }
            }

            .twelve {
                a:hover {
                    .bg {
                        background: url(../侧边栏图标_hover@1x.png) no-repeat -39px -82px;
                    }
                }

                .bg {
                    background: url(../img/侧边栏图标_默认@1x.png) no-repeat -39px -82px;
                }
            }



        }
    }


    // 秒杀区域
    .miaosha {
        margin-top: 10px;
        background-color: #fff;
        height: 266px;

        .left title {
            width: 190px;
            height: 266px;
            background: url(../img/Rectangle31@1x.png) no-repeat;

            h3 {
                font-size: 26px;
                color: #fff;
                margin-top: 30px;
                text-align: center;
            }
        }

        .middle_img_show {
            margin-left: 10px;

            .item {
                width: 190px;
                height: 266px;
                float: left;
                text-align: center;
                margin-left: 10px;
                padding-top: 20px;
                box-sizing: border-box;

                &:last-child {
                    margin-right: 0;

                }

                p:nth-child(2) {
                    width: 160px;
                    height: 18px;
                    color: #000000;

                    margin: 20px auto 10px;
                    overflow: hidden;
                    word-break: keep-all;
                    text-overflow: ellipsis;
                    font-size: 14px;
                }

                p:nth-child(3) {
                    color: #DD302D;
                }
            }
        }

        .right_code {
            margin-left: 10px;
        }
    }
}

// 年货节
.yearGoods {
    width: 1270px;
    height: 555px;
    background: url(../img/年货推荐_背景@1x.png) no-repeat;
    margin: 0 auto;
    padding: 110px 40px 0;
    box-sizing: border-box;

    .item {
        width: 190px;
        height: 210px;
        background: url(../img/年货产品背景框框@1x.png) no-repeat;
        text-align: center;
        float: left;
        margin-bottom: 10px;
        margin-right: 10px;

        p:nth-child(2) {
            width: 190px;
            height: 32px;
            background: url(../img/年货产品_免息横幅@1x.png) no-repeat;
            margin-top: 18px;
            float: left;
            padding-top: 8px;
            color: #FFFFFF;
            font-size: 14px;
        }

        p:nth-child(3) {
            color: #DD302D;
            font-size: 14px;
            font-weight: 700;
        }

        img {
            margin-top: 10px;
        }
    }

    .item:nth-child(6n) {
        margin-right: 0px;
    }










}

// 底部区域
.bottom_box {
    .asd {
        margin-right: 10px;

    }

    // 每日特价
    .day_Tj {
        .Tj_Box {
            width: 590px;
            height: 318px;
            background-color: #fff;
            padding: 10px 10px 0;
            box-sizing: border-box;
            margin-top: 10px;

            .title {
                span:nth-child(1) {
                    font-size: 24px;
                    font-weight: 700px;
                    color: #000;
                    margin-top: 0px;
                    margin-left: 14px;
                }

                span:last-child {
                    color: #DD302D;
                    font-size: 14px;
                    margin-top: 14px;
                }

            }

            .content_item_left {
                width: 180px;
                height: 254px;
                background-color: #F8F8F8;
                text-align: center;
                margin-top: 10px;

                h4 {
                    width: 118px;
                    height: 32px;
                    background-color: orange;
                    font-size: 14px;
                    color: #FFFFFF;
                    line-height: 32px;
                }

                img {
                    margin-top: 10px;
                }

                p:nth-child(3) {
                    color: #000000;
                    font-size: 16px;
                    padding-top: 10px;
                    font-weight: 700;
                }

                p:nth-child(4) {
                    color: #DD302D;
                    font-size: 20px;
                    padding-top: 10px;
                    font-weight: 700;
                }

                p:last-child {
                    color: #CCCCCC;
                    font-size: 12px;
                    padding-top: 10px;
                }
            }

            .content_item_right {
                width: 390px;
                height: 254px;
                padding-top: 32px;
                box-sizing: border-box;
                float: left;

                .public_item:nth-child(2n) {
                    margin-left: 10px;
                    box-sizing: border-box;
                }
            }
        }


        .public_item {
            float: left;
            width: 190px;
            height: 90px;
            margin-top: 10px;

            p:nth-child(3) {
                color: #000000;
                font-size: 14px;
                padding-top: 10px;
                font-weight: 700;
            }

            p:nth-child(4) {
                color: #DD302D;
                font-size: 12px;
                padding-top: 10px;
                font-weight: 700;
            }

            p:last-child {
                color: #CCCCCC;
                font-size: 12px;
                padding-top: 10px;
            }
        }
    }

    //   全球购
    .global {
        .title {
            font-size: 28px;
            line-height: 20px;
            text-align: center;
            color: #000;
            margin-top: 31px;
            height: 60px;

        }

        .public_items {
            width: 290px;
            height: 560px;
            float: left;

            &:nth-child(2) {
                margin-left: 10px;
            }

        }

        .img_show {
            padding-left: 10px;
            margin-top: 10px;
            height: 180px;
            width: 290px;
            float: left;
            box-sizing: border-box;
            background-color: #fff;

            h4 {
                padding: 10px 0;


                span:nth-child(1) {
                    font-size: 14px;
                    color: #000;
                    margin-left: 10px;
                }

                span:nth-child(2) {
                    font-size: 12px;
                    color: #ccc;
                    margin-left: 10px;
                }
            }

            img:nth-child(2) {
                margin-right: 10px;
            }

        }

        .right_items_content {
            width: 590px;
            margin-left: 10px;

            .img_show {
                padding-left: 0;
                margin-top: 0;
                margin-bottom: 10px;


            }

            .img_show:nth-child(2n+1) {
                margin-right: 10px;
            }

        }

    }



    .recommend {

        .title {
            font-size: 28px;
            line-height: 20px;
            text-align: center;
            color: #000;
            margin-top: 31px;
            height: 60px;

        }

        .Nav {
            height: 80px;
            background-color: #fff;

            .text {
                width: 180px;
                height: 80px;
                font-size: 14px;
                text-align: center;
                color: #fff;

                span:nth-child(1) {
                    display: inline-block;
                    width: 68px;
                    height: 20px;
                    border-radius: 10px;
                    margin-top: 22px;
                    color: #333;

                }

                span:nth-child(3) {
                    font-size: 12px;
                    display: block;
                    color: #ccc;

                }


            }

            .text:nth-child(1) {

                margin-left: 55px;

                span:nth-child(1) {
                    background-color: #DD302D;
                    color: #fff;


                }

                span:nth-child(3) {
                    color: #DD302D;

                }
            }
        }

        .content {
            margin-top: 10px;
            float: left;

            .bot_items {
                width: 230px;
                height: 322px;
                background-color: #fff;
                float: left;
                margin-left: 10px;
                margin-bottom: 10px;

                &:nth-child(1) {
                    margin-left: 0;
                }

                &:nth-child(6) {
                    margin-left: 0;
                }

                img {
                    margin: 40px;
                }

                p {
                    margin-left: 22.5px;
                    margin-top: 10px;

                    strong {
                        font-size: 14px;
                        color: #fff;
                        background-color: #DD302D;
                    }
                }

                p:nth-child(3) {
                    width: 190px;
                    height: 40px;
                    color: #000000;
                    font-size: 16px;
                    font-weight: 700;
                }

                p:nth-child(4) {
                    color: #DD302D;
                    margin-top: 10px;
                    font-size: 18px;
                    font-weight: 700;
                }
            }








        }

    }





}

.footer {
    height: 482px;
    background-color: #483E3E;

    .top_footer {
        img {
            margin-right: 10px;
            float: left;
        }

        img:last-child {
            margin-right: 0;

        }
    }

    .middle_footer {
        dl {

            float: left;
            width: 190px;
            height: 200px;
            margin-right: 50px;
        }

        dt {
            color: #fff;
            font-size: 18px;
            margin-bottom: 10px;

        }

        dd {
            color: #fff;
            margin-bottom: 5px;
        }

        &:last-child {
            margin-right: 0;
        }
    }

    .bottom_footer {
        border-top: 1px solid #fff;
        padding: 0 100px;

        ul {
            padding-top: 20px;

            li {
                float: left;
                width: 90px;
                height: 24px;
                text-align: center;
                line-height: 24px;
                color: #fff;
            }

            ;
        }

        p {
            font-size: 14px;
            color: #fff;
            text-align: center;
            margin-top: 20px;

        }
    }
}